package com.atguigu.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author : wenchao.long
 * @date : Created in 2020/12/02 17:27 周三
 * @description :
 *         <p>
 *         开启异步功能@EnableAsync
 *         </p>
 */
@SpringBootApplication
@EnableAsync
@EnableScheduling
public class SpringBoot04TaskApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBoot04TaskApplication.class, args);
    }

}
